package com.mai4j.maiadmin.service;

import com.mai4j.maiadmin.model.dto.SettingKVDTO;

/**
 * 微信公众号请关注: 开源螺丝钉
 * <br>
 * 码云请关注: <a href="https://gitee.com/xiyoufang">https://gitee.com/xiyoufang</a>
 * <br>
 * 哔哩哔哩请关注: <a href="https://space.bilibili.com/438927834">https://space.bilibili.com/438927834</a>
 *
 * @author xiyoufang
 */
public interface SettingService {
    /**
     * 保存配置
     *
     * @param code      code
     * @param settingKV settingKV
     */
    void save(String code, SettingKVDTO settingKV);

    SettingKVDTO get(String code);
}
